IPT=iptables 
$IPT -t nat -F
echo "1" > /proc/sys/net/ipv4/ip_forward

#$IPT -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

###======	mac to name
machan=00-26-C6-7E-2A-FC
macxil=00-26-C6-7F-7C-28

###======	ip to name 
han=192.168.1.130
xil=192.168.1.120
wan=192.168.1.150
#tmp=192.168.1.100
#tmp=192.168.1.222

###======	masquerade
$IPT -t nat -A POSTROUTING -o ppp0 -s $han -j MASQUERADE
$IPT -t nat -A POSTROUTING -o ppp0 -s $xil -j MASQUERADE
$IPT -t nat -A POSTROUTING -o ppp0 -s $wan -j MASQUERADE
#$IPT -t nat -A POSTROUTING -o ppp0 -s $tmp -j MASQUERADE
